<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>


<%@ page contentType="text/html; charset=UTF-8" %>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
%>
<!DOCTYPE html>
<html>
<head>
    <title></title>
    <meta charset="UTF-8">
    <link rel="stylesheet" type="text/css" href="<%=request.getContextPath()%>/Css/bootstrap.css"/>
    <link rel="stylesheet" type="text/css" href="<%=request.getContextPath()%>/Css/bootstrap-responsive.css"/>
    <link rel="stylesheet" type="text/css" href="<%=request.getContextPath()%>/Css/style.css"/>
    <link href="<%=request.getContextPath()%>/Css/jquery-ui.min.css"
          type="text/css" rel="stylesheet"/>
    <script type="text/javascript" src="<%=request.getContextPath()%>/js/jquery2.js"></script>
    <script type="text/javascript" src="<%=request.getContextPath()%>/js/jquery2.sorted.js"></script>
    <script type="text/javascript" src="<%=request.getContextPath()%>/js/bootstrap.js"></script>
    <script type="text/javascript" src="<%=request.getContextPath()%>/js/ckform.js"></script>
    <script type="text/javascript" src="<%=request.getContextPath()%>/js/common.js"></script>
    <script type="text/javascript"
            src="<%=request.getContextPath()%>/js/jquery-ui.min.js"></script>

    <style type="text/css">
        #versionDiv{
            padding-top: 100px;
       }
        span{

            font-size: x-large;

        }

    </style>
</head>
<body>
<div id="versionDiv">
<form id="versionForm" class="form-inline definewidth m20" action="/" method="post">
    <input type="text" name="id" id="id" class="abc input-default" style="display: none"
           value="1" />
    <label><span>安卓版本号：</span><input type="text" name="androidVersion" id="androidVersion" class="abc input-default" style="width: 100px"
                                  value="${vo.androidVersion}">&nbsp;&nbsp;
            <span>安卓下载地址：</span><input type="text" name="androiddownload" id="androiddownload" class="abc input-default" style="width: 300px"
                                 value="${vo.androiddownload}">&nbsp;&nbsp;
        <button type="button" class="btn btn-primary" onclick="versionUpdate();">确认修改</button>
    </label>
   <label><span>IOS版本号&nbsp;：</span><input type="text" name="iosVersion" id="iosVersion" class="abc input-default" style="width: 100px"
                                     value="${vo.iosVersion}">&nbsp;&nbsp;
        <span>IOS下载地址&nbsp;：</span><input type="text" name="iosdownload" id="iosdownload" class="abc input-default" style="width: 300px"
                                   value="${vo.iosdownload}">&nbsp;&nbsp;
        <button type="button" class="btn btn-primary" onclick="versionUpdate();">确认修改</button>
    </label>

</form>
</div>
</body>
<script type="text/javascript">


    function versionUpdate() {
        var myform = document.getElementById("versionForm");
        myform.action = "<%=request.getContextPath()%>/version/updateVersion.html";
        myform.submit();


    }




</script>

</html>